home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOOM Companion (Alt)
/
DOOM Companion CD-ROM - iso.7z
/
DOOM Companion CD-ROM.iso
/
multi
/
tcpsetup
/
tcpsetup.doc
next >
Wrap
Text File
|
1994-03-04
|
2KB
|
63 lines
DOOM TCP/IP Network Driver, version 0.8
by Jake Page
(with the use of ipxsetup source generously supplied by id Software,
and the WATTCP library by Erick Engelke and others)
OK, I finally got it working, now I can go ahead and attempt to pass
my finals...
This uses a standard packet driver to access the ethernet card, so
if you don't have one, you'll have to find one for your card.
I am using the Crynwr driver with a 3c503, and it works fine.
You must set the information in the wattcp.cfg to your particular
setup (IP, gateway, nameserver, etc.)
Parameters to pass to TCPSETUP are as follows:
TCPSETUP [other game parameters] -net <node#> [host2 host3 host4]
where <node#> is a number between 1 and 4. It determines who "calls"
who to set up the socket connections, and will also be the player number
in the game. host2-host4 are the other computers in the game, which
can be specified as either a host name or an IP address. Their order
MUST be consistent across all players in the game, from 1-4 with
the local host excluded.
Example 4 player game setup:
player1> tcpsetup -net 1 player2 player3 player4
player2> tcpsetup -net 2 player1 player3 player4
player3> tcpsetup -net 3 player1 player2 player4
player4> tcpsetup -net 4 player1 player2 player3
(If you have seen the NeXT version, you might have noticed that this
basically follows that format...)
The program determines the number of players by these hosts as well as the
node number. So, for example, if you are player 1, any hosts after the
node number will add to the total player count. This means that you should
NOT specify, say, "-net 4" with only two other hosts. I know, it's not the
best way to do it, but right now I'm still concerned with the thing working
at all...
Since my parameter parsing is only semi-intelligent, it's important that
the "-net" parameter is LAST. So if you want to set deathmode, skill,
mission, etc, you have to put them BEFORE -net, or the setup will think
that they are host names.
Feel free to report any problems, suggestions, etc. (or offers to "test"
it, of course...) to me at:
snake@leland.stanford.edu
Jake Page
3/5/94